package com.fsds.crem.web.service;

import java.util.List;

import com.fsds.crem.web.entity.EmailMessage;

public interface EmailMessageService {

	/**
	 * 根据状态字段，获取邮件信息
	 * 
	 * @param emailMessage
	 * @return
	 */
	public List<EmailMessage> findEmailMessageByState(EmailMessage emailMessage);
	
	/**
	 * 修改邮件信息的状态
	 * 
	 * @param emailMessage
	 */
	public void updateEmailMessageStateById(EmailMessage emailMessage);
	
	/**
	 * 新增邮件信息
	 * 
	 * @param emailMessage
	 */
	public void createEmailMessage(EmailMessage emailMessage);
	
}
